<template>
<div class="home">

    <div class="homeHeader" data-spm="home-header">
        <div class="greeting" style="padding-bottom: 20px;">
            <h1>您好，张三</h1>
        </div>
    </div>

    <div class="app-container">

        <el-row :gutter="20">
        <el-col :span="16">
			<div class="WidgetHomeProductMy-detailContainer-3W8nd">
			   <h3 class="h3-title">
                   <span tooltipicon="help" class="nb-rc-text product-title">
                       <span class="the-text">应用统计</span>
                   </span>
               </h3>
               <div style="position: relative; overflow: hidden; width: 100%; height: 147px;">
                   <div style="position: absolute; inset: 0px; overflow: scroll; margin-right: -17px; margin-bottom: -17px;">
                       <ul class="product_list thm-uglier">
                           <li class="product_list_li count-li">
                               <div class="text-title">
                                   应用统计
                               </div>
                               <div class="text-descript">
                                   本教程适用企业、个人，基于开源的PbootCMS，快速搭建拥有丰富功能的网站。
                               </div>
                               <div class="count-text-button">
                                   <button type="button" class="next-btn next-medium next-btn-primary">打开教程</button>
                               </div>
                           </li>
                           <li class="product_list_li count-li">
                               <div class="text-title">
                                    会员统计
                               </div>
                               <div class="text-descript">
                                   本教程适用企业、个人，基于开源的PbootCMS，快速搭建拥有丰富功能的网站。
                               </div>
                               <div class="count-text-button">
                                   <button type="button" class="next-btn next-medium next-btn-primary">打开教程</button>
                               </div>
                           </li>
                       </ul>
                   </div>
               </div>
           </div>
		</el-col>
        <el-col :span="8">
            <div class="next-card next-card-free next-card-show-divider">
            <h3 class="widget-title">预警信息</h3>
            <div class="widget-wrapper" style="position: relative;">
                <div class="widget-bulletin-list">
                    <div class="cont">
                        <div class="item">
                            <a class="wind-rc-link" href="//help.aliyun.com/noticelist/articleid/1060847550.html" target="_blank">【升级】5月20日云通信短信服务中国联通网络割接操作通知</a>
                        </div>
                        <div class="item">
                            <a class="wind-rc-link" href="//help.aliyun.com/noticelist/articleid/1060847364.html" target="_blank">【其他】5月31日未实名认证.公司/.网络域名将被注册局暂停解析</a>
                        </div>
                        <div class="item">
                            <a class="wind-rc-link" href="//help.aliyun.com/noticelist/articleid/1060847364.html" target="_blank">【其他】5月31日未实名认证.公司/.网络域名将被注册局暂停解析</a>
                        </div>
                        <div class="item">
                            <a class="wind-rc-link" href="//help.aliyun.com/noticelist/articleid/1060847364.html" target="_blank">【其他】5月31日未实名认证.公司/.网络域名将被注册局暂停解析</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
		</el-col>
        </el-row>
        <el-row :gutter="20">
            <el-col :span="16">
                <div class="WidgetHomeProductMy-detailContainer-3W8nd">
                   <h3 class="h3-title">
                       <span tooltipicon="help" class="nb-rc-text product-title">
                           <span class="the-text">接入教程</span>
                       </span>
                   </h3>
                   <div style="position: relative; overflow: hidden; width: 100%; height: 212px;">
                    <div style="position: absolute; inset: 0px; overflow: scroll; margin-right: -17px; margin-bottom: -17px;">
                     <ul class="product_list thm-uglier">
                          <li class="product_list_li">
                                <div class="text-title">
                                    Oauth2应用接入
                                    <span class="text-icons"><i class="fas fa-chevron-right"></i></span>
                                </div>
                                <div class="text-descript">
                                    本教程适用企业、个人，基于开源的PbootCMS，快速搭建拥有丰富功能的网站。
                                </div>
                          </li>
                          <li class="product_list_li">
                                <div class="text-title">
                                    旧系统接入
                                    <span class="text-icons"><i class="fas fa-chevron-right"></i></span>
                                </div>
                                <div class="text-descript">
                                    本教程适用企业、个人，基于开源的PbootCMS，快速搭建拥有丰富功能的网站。
                                </div>
                          </li>
                          <li class="product_list_li">
                                <div class="text-title">
                                    单点数据同步
                                    <span class="text-icons"><i class="fas fa-chevron-right"></i></span>
                                </div>
                                <div class="text-descript">
                                    本教程适用企业、个人，基于开源的PbootCMS，快速搭建拥有丰富功能的网站。
                                </div>
                          </li>
                          <li class="product_list_li">
                                <div class="text-title">
                                    多种验证码管理
                                    <span class="text-icons"><i class="fas fa-chevron-right"></i></span>
                                </div>
                                <div class="text-descript">
                                    本教程适用企业、个人，基于开源的PbootCMS，快速搭建拥有丰富功能的网站。
                                </div>
                          </li>
                          <li class="product_list_li">
                                <div class="text-title">
                                    集成第三方单点登陆
                                    <span class="text-icons"><i class="fas fa-chevron-right"></i></span>
                                </div>
                                <div class="text-descript">
                                    本教程适用企业、个人，基于开源的PbootCMS，快速搭建拥有丰富功能的网站。
                                </div>
                          </li>
                          <li class="product_list_li">
                                <div class="text-title">
                                    IFrame应用嵌套
                                    <span class="text-icons"><i class="fas fa-chevron-right"></i></span>
                                </div>
                                <div class="text-descript">
                                    本教程适用企业、个人，基于开源的PbootCMS，快速搭建拥有丰富功能的网站。
                                </div>
                          </li>
                     </ul>
                    </div>
                   </div>
                  </div>
            </el-col>
            <el-col :span="8">
                <div class="next-card next-card-free next-card-show-divider">
                <h3 class="widget-title">平台手册</h3>
                <div class="widget-wrapper" style="position: relative;">
                    <div class="widget-bulletin-list">
                        <div class="cont">
                            <div class="item">
                                <a class="wind-rc-link" href="//help.aliyun.com/noticelist/articleid/1060847550.html" target="_blank" data-spm-click="gostr=/aliyun-console.help-bulletin.item;locaid=ditem0;itemid=1060847550">【升级】5月20日云通信短信服务中国联通网络割接操作通知</a>
                            </div>
                            <div class="item">
                                <a class="wind-rc-link" href="//help.aliyun.com/noticelist/articleid/1060847364.html" target="_blank" data-spm-click="gostr=/aliyun-console.help-bulletin.item;locaid=ditem1;itemid=1060847364">【其他】5月31日未实名认证.公司/.网络域名将被注册局暂停解析</a>
                            </div>
                            <div class="item">
                                <a class="wind-rc-link" href="//help.aliyun.com/noticelist/articleid/1060846481.html" target="_blank" data-spm-click="gostr=/aliyun-console.help-bulletin.item;locaid=ditem2;itemid=1060846481">【升级】5月23日注册局维护通知</a>
                            </div>
                            <div class="item">
                                <a class="wind-rc-link" href="//help.aliyun.com/noticelist/articleid/1060846468.html" target="_blank" data-spm-click="gostr=/aliyun-console.help-bulletin.item;locaid=ditem3;itemid=1060846468">【升级】5月19日DDoS高防（国际）升级通知</a>
                            </div>
                            <div class="item">
                                <a class="wind-rc-link" href="//help.aliyun.com/noticelist/articleid/1060846468.html" target="_blank" data-spm-click="gostr=/aliyun-console.help-bulletin.item;locaid=ditem3;itemid=1060846468">【升级】5月19日DDoS高防（国际）升级通知</a>
                            </div>
                            <div class="item">
                                <a class="wind-rc-link" href="//help.aliyun.com/noticelist/articleid/1060846187.html" target="_blank" data-spm-click="gostr=/aliyun-console.help-bulletin.item;locaid=ditem4;itemid=1060846187">【漏洞预警】XStream &lt; 1.4.17 反序列化远程代码执行漏洞（CVE-2021-29505）</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            </el-col>
        </el-row>
    </div>
</div>

</template>

<script>
export default {
    name: "index",
    components: {
    },
    data() {
        return {
            // 版本号
            version: "3.4.0",
        };
    },
    methods: {
        goTarget(href) {
            window.open(href, "_blank");
        },
    },
};
</script>

<style scoped lang="scss">

@import url('http://static.cloud.linesno.com/asserts/vendors/fontawesome/css/all.css') ;

.homeHeader {
    position: relative;
    box-sizing: border-box;
    padding: 24px 24px 0;
    background-color: #fff;
    box-shadow: 0 1px 0 0 #e3e4e6 ;
    z-index: 1;
}

.homeHeader h1 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #333;
    line-height: 24px;
}

.app-container {
    background-color: #fafafa ;
}

.widget-title {
    font-size: 14px;
    color: #333;
    line-height: 24px;
    font-weight: 400;
//    float: left;
    width: 100%;
}

.app-icon {
    width: 32px;
    height: 32px;
    position: relative;
}

.el-row {
    margin-bottom: 20px;
    &:last-child {
        margin-bottom: 0;
    }
}

.el-col {
    border-radius: 2px;
    background: #fff ;
    padding: 20px !important ;
    padding-left: 20px !important ;
    padding-right: 20px !important ;
    border: var(--card-border-width,1px) var(--card-border-style,solid) var(--card-border-color,#e3e4e6);
}

.el-col-8 {
    width: calc(33.3333333333% - 10px);
    margin-left: 10px;
}

.widget-bulletin-list .item {
    height: 32px;
    line-height: 32px;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 12px;

    a {
        color: #555;
    }
}

.product_list_li:nth-child(3),.product_list_li:nth-child(6) {
    border-right: 0px;
}

.product_list_li {
    width: 33% !important;
    padding: 16px !important ;
    border-radius: 0px !important ;
    border-right: 1px solid #eee;

    .text-title{
        font-family: PingFangSC-Medium;
        font-size: 16px;
        color: #333;
        letter-spacing: 0;
        line-height: 24px;
    }

    .text-descript{
        margin-top: 8px;
        opacity: .7;
        font-family: PingFangSC-Regular;
        font-size: 12px;
        color: #333;
        letter-spacing: .37px;
        line-height: 20px;
    }
}

.widget-bulletin-list {
    .line {
        position: absolute;
        left: -16px;
        right: -16px;
        height: 1px;
        background-color: #e3e4e6;
    }
    .pin {
        position: relative;
        margin-bottom: 15px;
        margin-top: 15px;

        .msg {
            padding: 8px 12px;
            line-height: 18px;
            color: #333;
            font-size: 12px;
            background-color: #eff3f8;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
            margin-bottom: 16px;
        }
    }
}

.bg-purple-dark {
    background: #99a9bf;
}

.bg-purple {
    background: #d3dce6;
}

.bg-purple-light {
    background: #e5e9f2;
}

.grid-content {
    border-radius: 4px;
    min-height: 36px;
}

.row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
}

.next-col-4 {
    -ms-flex: 0 0 16.66667%;
    -webkit-flex: 0 0 16.66667%;
    flex: 0 0 16.66667%;
    width: 16.66667%;
    max-width: 16.66667%;
    float: left ;
}

.tag {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 12px;
    margin-bottom: 8px;
    height: 32px;
    width: 95%;
    font-size: 12px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #f7f9fa;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    color: #333!important;
    cursor: pointer;
    -webkit-transition: background-color .1s linear;
    -o-transition: background-color linear .1s;
    -moz-transition: background-color linear .1s;
    transition: background-color .1s linear;
    white-space: nowrap;
    text-decoration: none;
}

.subtitle {
    font-weight: 500;
    font-size: 12px;
    color: #666;
    line-height: 20px;
    margin: 16px 0 8px;
}

.thm-uglier {
	list-style: none;
	margin: 0;
	padding: 0;
}

.product_list {
	a {
		display: flex;
		align-items: center;
		padding: 0 16px;
		background-color: #f9f9f9;
		width: 100%;
		line-height: 36px;
		text-decoration: none;
		color: #333;
		transition: all 250ms linear;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

.product_list > li {
    padding: 0 8px 8px 0;
    overflow: hidden;
    flex: none;
    width: 25%;
    float: left;
	border-radius: 4px;
	font-size: 12px;

	a {
		line-height: 42px;

		i {
			display: none;
			border: 1px solid #dedede;
			border-radius: 14px;
			width: 28px;
			height: 28px;
			text-align: center;
		}
	}

	.WidgetHomeProductMy-product_name-TNtW6 {
		flex: 1;
		margin-left: 8px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

.h3-title {
    font-size: 17px;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 10px;
    padding-left: 16px;

}

.text-icons{
    float: right;
    margin-right: 10px;
    font-size: 16px;
    font-weight: 200;
    color: #ccc;
}

li.product_list_li.count-li {
    background: url(https://img.alicdn.com/tfs/TB1uQ8uVLb2gK0jSZK9XXaEgFXa-816-160.png) 0% 0% / 100% 100% no-repeat;
    width: calc(50% - 16px) !important;
    height: 140px;
    border-right: 0px;
    border-radius: 5px !important;
    margin: 0px 0px 16px 16px !important;
}

.count-text-button > button {
    padding: 0 16px;
    height: 32px;
    line-height: 30px;
    font-size: 12px;
    border-width: 1px;
    border-style: solid;
    background-color: #005bd4 ;
    border-color: transparent;
    margin-top: 20px;
    color: #fff;
    border-radius: 3px;
}

</style>


